import Vue from 'vue'
import axios from "axios"//ajax
Vue.prototype.axios = axios

//全部请求接口
import apiUrl from '../api/api.js'
Vue.prototype.apiUrl = apiUrl;//把引入的公共方法 变成全局使用

export const setVehicle = ({ commit },data) => {//中间调用 适用于和后台对接
  commit('calculateVehicle', data)
}


export const setViewHelpSrc = ({ commit },data) => {//中间调用 适用于和后台对接
  commit('calculateViewHelpSrc', data)
}


export const setMessageRemind = ({ commit },data) => {//中间调用 适用于和后台对接
  commit('calculateMessageRemind', data)
}
